class Class {
    constructor(number){
        this.number=number;
    }
    getDisplayName(){
        let result =`Class ${this.number}`;
        return result;
    }
    assignLeader(student){
        if(student.klass.number==this.number)
            this.leader=student;
        else
            console.log("It is not one of us.");
    }
    appendMember(student){
        student.klass=this;
    }
}
export default Class;
